<?  
    foreach($last as $row){
		
		$link = $row['cName'] . "/" . $row['sName'] . "/" . $row['title'] ;
	?>
     <div style="margin-top: 13px; width: 100%;">&nbsp;</div>
    <article class="clearfix">
        <section>

            <div id="naslovnan">

                <div id="naslovnaimg" class="separator">
                    
                    
                   <? $img = "getimage.php?img=".$row['mFile']."&w=470&h=300&exacttop"; ?>
                   
                    <img src="<?=$img?>" alt="<?=$row['caption']?>" title="<?=$row['caption']?>" />

                    <div class="nadnaslov"><?=$row['uptitle']?></div>

                </div>

                <h2><a href="<?=$link?>"><?=$row['title']?></a></h2>

                <div class="intro"> <?=$row['intro']?> </div>

            </div>

        </section>  
    </article>
<?}?>